package src.com.test.oneDay;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class demo7 {

    public static void main(String[] args) {



    }

    List<List<String>> res = new ArrayList<>();
    LinkedList<String> path = new LinkedList<>();

    public List<List<String>> partition(String s) {

        return null;

    }

    public void tracebacking(String s,int index){}

    public static boolean isReserver(String s){


        for(int i = 0;i  < s.length() / 2;i++) {

            if (s.charAt(i) != s.charAt(s.length() - i - 1)) {
                return false;
            }

        }

        return true;
    }
}
